<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>连接表达式</title>
</head>
<body>
<nav>
  <a th:href="@{https://www.baidu.com/}"  th:target="blank">绝对地址</a>
  <br>
  <a href="" th:href="@{toIndex}">页面相对路径</a>
  <br>
  <a th:href="@{/index.html}">index.html直接请求</a>
</nav>
</body>
</html>